package net.app.zoneland.domain;

import java.util.List;

/**
 * @Description
 * @Author LENOVO
 * @CreateTime 2021/2/10 17:15
 * @Version: 1.0
 */
public class Menu {

    private Integer parentId;

    private Integer id;

    private String name;

    private List<Menu> childList;

    public Menu(Integer id, String name,Integer parentId) {
        this.parentId = parentId;
        this.id = id;
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Menu> getChildList() {
        return childList;
    }

    public void setChildList(List<Menu> childList) {
        this.childList = childList;
    }
}
